import Vue from 'vue'
import App from './App'
import store from './store' // store
import plugins from './plugins' // plugins
import './permission' // permission
import uView from 'uview-ui'
import * as Db from './common/db.js'
import * as Common from './common/common.js'

import cuCustom from './colorui/components/cu-custom.vue'
Vue.component('cu-custom',cuCustom)
import headerNav from './components/header-nav/header-nav.vue'
Vue.component('header-nav',headerNav)

Vue.use(plugins)
Vue.use(uView)

Vue.prototype.$db = Db;
Vue.prototype.$common = Common;


Vue.config.productionTip = false
Vue.prototype.$store = store

App.mpType = 'app'

const app = new Vue({
  ...App
})

app.$mount()
